﻿using Microsoft.Extensions.Configuration;

namespace MiniFox.Platform.File.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public class FileSetting
    {
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("group")]
        public string Group
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("folder")]
        public string Foler
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("cacheName")]
        public string CacheName
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("cacheDuration")]
        public int CacheDuration
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("preUpload")]
        public bool PreUpload
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("preDownLoad")]
        public bool PreDownload
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("maxBatchCount")]
        public int MaxBatchCount
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("compressLevel")]
        public int CompressLevel
        {
            get;
            set;
        }
    }
    
}
